package com.legal.aid.app.mapper;


import com.legal.aid.app.domain.vo.ConsultVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.security.core.parameters.P;


@Mapper
public interface AppConsultMapper {

    int insertConsult(ConsultVo consultVo);

    ConsultVo selectConsultStatus(@Param("userId") Long userId,@Param("lawyerId") Long lawyerId);

    int updateConsultStatus(@Param("consultId") Long consultId,@Param("status") String status);
}